package psl;

import java.text.SimpleDateFormat;

/**
 * Created by IntelliJ IDEA.
 * User: phiteshkumar
 * Date: Feb 23, 2007
 * Time: 12:43:58 PM
 */
public class AppConstants
{
	public static final int ACTN_LOGIN = 1;
	public static final int ACTN_LOGOUT = 5;
	public static final int ACTN_OPEN = 3;
	public static final int ACTN_SAVE = 4;
	public static final int ACTN_SEARCH = 47;
	public static final int ACTN_SCROLL_TO_PAGE = 6;
	public static final int ACTN_NEW_RECORD = 7;
	public static final int ACTN_EDIT_RECORD = 8;
	public static final int ACTN_VIEW_RECORD = 9;
	public static final int ACTN_COPY_RECORD = 10;
	public static final int ACTN_DELETE_RECORD = 11;
	public static final int ACTN_CANCEL = 12;
	public static final int ACTN_GET_SLOT = 13;
	public static final int ACTN_SHOW_TAB = 14;
	public static final int ACTN_OPEN_FOR_SELECT = 15;
	public static final int ACTN_SELECT = 16;
	public static final int ACTN_VALIDATE_FIELD = 17;
	public static final int ACTN_SORT_BY_COLUMN = 18;
	public static final int ACTN_BUTTON_CLICKED = 19;
	public static final int ACTN_TOGGLE_BOOKMARK_FILTER = 20;
	public static final int ACTN_SUBMIT = 21;
	public static final int ACTN_TOGGLE_BOOKMARK = 22;
	public static final int ACTN_ZOOM_IN = 23;
	public static final int ACTN_ZOOM_LEVEL = 24;
	public static final int ACTN_SCROLL_TO_ROW = 25;
	public static final int ACTN_RESET = 26;
	public static final int ACTN_SELECT_ROW = 27;
	public static final int ACTN_CANCEL_SUB_PAGE = 28;
	public static final int ACTN_ITEM_CLICKED = 29;
	public static final int ACTN_REFRESH = 30;
	public static final int ACTN_SHOW_DESKTOP = 31;
	public static final int ACTN_SHOW_PAGE_ACTIONS = 32;
	public static final int ACTN_PERFORM_PAGE_ACTION = 33;
	public static final int ACTN_SHOW_ITEM_DETAIL = 34;
	public static final int ACTN_SET_SCREEN_MODE = 35;
	public static final int ACTN_SHOW_SECTION_TAB = 36;
	public static final int ACTN_LOGIN_OR_JOIN = 37;
	public static final int ACTN_MENU_ITEM_CLICKED = 38;
	public static final int ACTN_RESET_DESKTOP = 39;

    public static final int ACTN_PROCESS= 40;
	public static final int ACTN_REMOVE= 41;
    public static final int ACTN_DONE = 42;
    public static final int ACTN_UPDATE = 43;
    public static final int ACTN_BACK= 44;
    public static final int ACTN_NEW_USER= 45;
    public static final int ACTN_FINISH= 46;
    public static final int ACTN_CONTINUE = 48;
    public static final int ACTN_NEXT = 49;
    public static final int ACTN_SET_VALUE=50;


	// Record Status
	public static final int STATUS_NEW = 1;
	public static final int STATUS_EXISTING = 2;
	public static final int STATUS_DELETED = 3;
	public static final String STATUS_DELEVERED = "dl";
	public static final String STATUS_NOT_DELEVERED = "ndl";

	// Data Type
	public static final int TYPE_TEXT = 0;
	public static final int TYPE_NUMBER = 1;
	public static final int TYPE_DATE = 2;
	public static final int TYPE_DATE_RANGE = 3;
	public static final int TYPE_TIMESTAMP = 4;

	// Package and Folders Name
	public static final String INCLUDE = "include";
	public static final String ENCRYPTOR_kEY = "mbczljgda";
	public static final String IMAGES = "WebFoundation/images";

    public static final String SQL_DATE_FORMATE = "DD/MM/YYYY";
    public static final SimpleDateFormat SIMPLE_DATE_FORMAT = new SimpleDateFormat ("dd/MM/yyyy");

	// Delimiters
	public static final char DELIM_MAIN = '^';
	public static final char DELIM_PARAM = '~';
	public static final char DELIM_ROW = 1;
	public static final char DELIM_COL = 2;
	public static final char DELIM_START = 'S';
	public static final char DELIM_END = 'E';
	public static final char DELIM_HDR = 'H';
	public static final char DELIM_DATA = 'D';

}
